{% extends "light.twig" %}
{% block title %}ONKI: {{ vocab.title }}{% endblock %}

{% block content %}
  {% include 'vocab-search-nav-bar.twig' %}
<div id="vocab-content">
  {% if lang_supported == false %}
  <div id="lang-info" class = "boxed">
    <span class="header-text-small-font">{% trans "lang not supported" %}</span>
  </div>
  {% endif %}
  <div id="vocab-info" class="boxed">
    <span class="header-text-small-font">{% trans "Tietoja sanastosta" %}</span><br />
    <br /> {% if vocab.info %}
    <table class="vocab-info-table">
			{% for key, value in vocab.info %}
			{% set keytrans = key %}
        <tr>
          <td>{{ keytrans|trans }} </td>
          <td>{{ value|raw }}</td>
        </tr>
			{% endfor %}
    </table>
		{% endif %} </br>
    <div class="bottomtext-vocabulary">
      <span class="header-text-small-font-nobold download-text">
      {% trans %}Lataa tämä sanasto SKOS-muodossa:{% endtrans %} 
          <a onmousemove="UpdatePosition(a);" onmouseover="a = ShowContent('RDF/XML', this); return true;" onmouseout="HideContent(a, this);" href="../../rest/data/{{ vocab_id }}" >RDF/XML 
          <img src="{{ path_fix }}resource/pics/download.png"></img></a>
      </span>
     </div>
    </div>
  </div>
{% endblock %}